package com.ys.openapi.process;

/**
 * 驳回请求体
 */
public class RequestRejectProcess {
    private String workflowCode;//流程模板编码": "pay",
    private String   workItemId="null";//": null,
    private String workflowInstanceId="null";//流程实例id": null
   // private boolean agree=true;//": true,
   // private String actionCode="submit";//: "submit",
  //  private String depatmentId;//": "2c2c80867ab40ee9017aca0657a30636",
    private String formType="1";//: "1",
    private String replayToken;//": "REPLAY18b51239562b457baa1288be36201d07"
    private BizObject bizObject ;//业务对象
    private Approval approval;//流程审批信息
     private  String rejectToActivityCode;//":"Activity3",
     private boolean   submitToReject=false;//":false,

    public String getWorkflowCode() {
        return workflowCode;
    }

    public void setWorkflowCode(String workflowCode) {
        this.workflowCode = workflowCode;
    }

    public String getWorkItemId() {
        return workItemId;
    }

    public void setWorkItemId(String workItemId) {
        this.workItemId = workItemId;
    }

    public String getWorkflowInstanceId() {
        return workflowInstanceId;
    }

    public void setWorkflowInstanceId(String workflowInstanceId) {
        this.workflowInstanceId = workflowInstanceId;
    }

    public String getFormType() {
        return formType;
    }

    public void setFormType(String formType) {
        this.formType = formType;
    }

    public String getReplayToken() {
        return replayToken;
    }

    public void setReplayToken(String replayToken) {
        this.replayToken = replayToken;
    }

    public BizObject getBizObject() {
        return bizObject;
    }

    public void setBizObject(BizObject bizObject) {
        this.bizObject = bizObject;
    }

    public Approval getApproval() {
        return approval;
    }

    public void setApproval(Approval approval) {
        this.approval = approval;
    }

    public String getRejectToActivityCode() {
        return rejectToActivityCode;
    }

    public void setRejectToActivityCode(String rejectToActivityCode) {
        this.rejectToActivityCode = rejectToActivityCode;
    }

    public boolean isSubmitToReject() {
        return submitToReject;
    }

    public void setSubmitToReject(boolean submitToReject) {
        this.submitToReject = submitToReject;
    }
}
/* {
            "workflowCode":"pay",
                "workItemId":"cfa8f14df2b9455183566e50ac5182c4",
                "workflowInstanceId":"0dfca5fb18c44372b52ab4ab684bbfce",
                "bizObject":{
            "id":"95cf68e0d3c041948ef2781f442d37e4",
                    "data":{
                "ShortText1628921911277":"22",
                        "id":"95cf68e0d3c041948ef2781f442d37e4",
                        "sequenceNo":"2021-001099"
            },
                    "schemaCode":"pay",
                    "sheetCode":"pay",
                    "workflowInstanceId":"0dfca5fb18c44372b52ab4ab684bbfce"
        },
            "approval":{
            "content":"不同意",
                    "workItemId":"cfa8f14df2b9455183566e50ac5182c4",
                    "workflowInstanceId":"0dfca5fb18c44372b52ab4ab684bbfce",
                    "workflowTokenId":"5cab22b086dc44bd8641581badadc687",
                    "activityCode":"Activity5",
                    "activityName":"付款实付",
                    "result":null
        },
            "rejectToActivityCode":"Activity3",
                "submitToReject":false,
                "formType":"1"
        }*/
